<LINK type="text/css" HREF="style.css" rel="stylesheet">
<h1>imgcompress</h1>
<p>Saves a matrix as a compressed image. The image format is based on the file extension you give. Supported Formats and file extensions:</p>
<ul>
  <li>JPEG, JPG</li>
  <li>PNG</li>
  <li>GIF (result will be only 256 colors) </li>
  <li>TIF (not compresses) </li>
  <li>WMF</li>
  <li>EMF</li>
</ul>
<p>Note that by using compressed formats the original data may distort, however it might be useful, because it saves disk space. To save your images undistorted please use the mtrx_savef function. </p>
<h2>parameters:</h2>
<ol>
  <li>The matrix's name you want to save</li>
  <li>The target file location with extension</li>
  <li>the compression factor (only required when using jpeg compression, must be between 0 and 100, 100 is the best quality and 0 is the worst)   </li>
</ol>
